import request from '@/utils/request'

/**
 * 查询消息类型
 * @returns {*}
 */
export function queryAllNoticeType() {
  return request({
    url: 'rest/config/v1/ding/media/message',
    method: 'get'
  })
}
/**
 * 查询媒体类型
 * @returns {*}
 */
export function queryAllMediaType() {
  return request({
    url: 'rest/config/v1/ding/media/mtype',
    method: 'get'
  })
}
